package com.qinglei.recoup.system.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum IotAttrEnum {

    FUNC("FUNC", "功能校验"),
    EXIST("EXIST", "存在灯"),//0关闭、1打开
    FALL("FALL", "跌倒灯"),//0关闭、1打开
    NET("NET", "设备网络灯"),//0关闭、1打开
    ALGC("ALGC", "算法校验"),
    MONH("MONH", "监测高度"),
    ALAT("ALAT", "报警时间"),
    USEH("USEH", "用户高度"),
    DPROTO("DPROTO", "下行协议号");

    IotAttrEnum(String code, String descp) {
        this.code = code;
        this.descp = descp;
    }

    @EnumValue
    private final String code;
    @EnumValue
    private final String descp;

}
